﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class EnemyBuilder : IBuilder
{
    public EnemyBuilder()
    {
        character = new EnemyCharacter();
    }

    public override void AddAttribute()
    {
        character.SetAttribute();
    }

    public override void AddCharacterGameobject()
    {
        character.SetCharacter();
    }

    public override void AddWeaponGameObject()
    {
        character.SetWeapon();
    }

    public override ICharacter ResultCharacter()
    {
        Debug.Log("成功创建敌人");
        return character;
    }
}
